home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGRectElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  152 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGRectElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGRectElement_h__
  6. #define __gen_nsIDOMSVGRectElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedLength; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGRectElement */
  21. #define NS_IDOMSVGRECTELEMENT_IID_STR "1695ca39-e40d-44dc-81db-a51b6fd234fa"
  22.  
  23. #define NS_IDOMSVGRECTELEMENT_IID \
  24.   {0x1695ca39, 0xe40d, 0x44dc, \
  25.     { 0x81, 0xdb, 0xa5, 0x1b, 0x6f, 0xd2, 0x34, 0xfa }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGRectElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGRECTELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedLength x; */
  33.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) = 0;
  34.  
  35.   /* readonly attribute nsIDOMSVGAnimatedLength y; */
  36.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) = 0;
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedLength width; */
  39.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) = 0;
  40.  
  41.   /* readonly attribute nsIDOMSVGAnimatedLength height; */
  42.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) = 0;
  43.  
  44.   /* readonly attribute nsIDOMSVGAnimatedLength rx; */
  45.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) = 0;
  46.  
  47.   /* readonly attribute nsIDOMSVGAnimatedLength ry; */
  48.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) = 0;
  49.  
  50. };
  51.  
  52. /* Use this macro when declaring classes that implement this interface. */
  53. #define NS_DECL_NSIDOMSVGRECTELEMENT \
  54.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
  55.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
  56.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
  57.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight); \
  58.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx); \
  59.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy); 
  60.  
  61. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  62. #define NS_FORWARD_NSIDOMSVGRECTELEMENT(_to) \
  63.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
  64.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
  65.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
  66.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); } \
  67.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) { return _to GetRx(aRx); } \
  68.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) { return _to GetRy(aRy); } 
  69.  
  70. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  71. #define NS_FORWARD_SAFE_NSIDOMSVGRECTELEMENT(_to) \
  72.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  73.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
  74.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  75.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  76.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRx(aRx); } \
  77.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRy(aRy); } 
  78.  
  79. #if 0
  80. /* Use the code below as a template for the implementation class for this interface. */
  81.  
  82. /* Header file */
  83. class nsDOMSVGRectElement : public nsIDOMSVGRectElement
  84. {
  85. public:
  86.   NS_DECL_ISUPPORTS
  87.   NS_DECL_NSIDOMSVGRECTELEMENT
  88.  
  89.   nsDOMSVGRectElement();
  90.  
  91. private:
  92.   ~nsDOMSVGRectElement();
  93.  
  94. protected:
  95.   /* additional members */
  96. };
  97.  
  98. /* Implementation file */
  99. NS_IMPL_ISUPPORTS1(nsDOMSVGRectElement, nsIDOMSVGRectElement)
  100.  
  101. nsDOMSVGRectElement::nsDOMSVGRectElement()
  102. {
  103.   /* member initializers and constructor code */
  104. }
  105.  
  106. nsDOMSVGRectElement::~nsDOMSVGRectElement()
  107. {
  108.   /* destructor code */
  109. }
  110.  
  111. /* readonly attribute nsIDOMSVGAnimatedLength x; */
  112. NS_IMETHODIMP nsDOMSVGRectElement::GetX(nsIDOMSVGAnimatedLength * *aX)
  113. {
  114.     return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116.  
  117. /* readonly attribute nsIDOMSVGAnimatedLength y; */
  118. NS_IMETHODIMP nsDOMSVGRectElement::GetY(nsIDOMSVGAnimatedLength * *aY)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* readonly attribute nsIDOMSVGAnimatedLength width; */
  124. NS_IMETHODIMP nsDOMSVGRectElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
  125. {
  126.     return NS_ERROR_NOT_IMPLEMENTED;
  127. }
  128.  
  129. /* readonly attribute nsIDOMSVGAnimatedLength height; */
  130. NS_IMETHODIMP nsDOMSVGRectElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
  131. {
  132.     return NS_ERROR_NOT_IMPLEMENTED;
  133. }
  134.  
  135. /* readonly attribute nsIDOMSVGAnimatedLength rx; */
  136. NS_IMETHODIMP nsDOMSVGRectElement::GetRx(nsIDOMSVGAnimatedLength * *aRx)
  137. {
  138.     return NS_ERROR_NOT_IMPLEMENTED;
  139. }
  140.  
  141. /* readonly attribute nsIDOMSVGAnimatedLength ry; */
  142. NS_IMETHODIMP nsDOMSVGRectElement::GetRy(nsIDOMSVGAnimatedLength * *aRy)
  143. {
  144.     return NS_ERROR_NOT_IMPLEMENTED;
  145. }
  146.  
  147. /* End of implementation class template. */
  148. #endif
  149.  
  150.  
  151. #endif /* __gen_nsIDOMSVGRectElement_h__ */
  152.